<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div></div>
    <p></p>
    <script>

        // 获取特殊元素
        // html 标签
        // body 标签
        // 获取body标签
        var body1=document.body;
        console.log(body1);

        // 获取html标签
        var html1=document.documentElement;
        console.log(html1);
    </script>
</body>
</html>